<div>
	<?php echo CHtml::link(CHtml::image(Yii::app()->request->getBaseUrl(true).$data->defaultPhoto->thumbnailPath), array('products/view/data/'.$data->slug));?>
	<?php echo CHtml::link($data->name, array('products/view/data/'.$data->slug));?>
</div>